package com.crop.back.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * author Luge
 * description: $
 * param: $
 * return: $
 * date: $ $
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QualityInspectionDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("分页参数")
    private Integer page = 1;

    @ApiModelProperty("单页大小")
    private Integer pageSize = 5;

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("批次ID")
    private Long batchId;

    @ApiModelProperty("检测人员")
    private String inspector;

    @ApiModelProperty("检测时间")
    private LocalDateTime inspectionTime;

    @ApiModelProperty("最早检测时间")
    private LocalDateTime startInspectionTime;

    @ApiModelProperty("最晚检测时间")
    private LocalDateTime endInspectionTime;

    @ApiModelProperty("检测项目，JSON格式")
    private String inspectionItems;

    @ApiModelProperty("检测结果，JSON格式")
    private String results;

    @ApiModelProperty("检测报告URL")
    private String reportUrl;

    @ApiModelProperty("状态：0-不合格 1-合格")
    private Integer status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer deleted;
}
